import React, { Component } from 'react'
import { Link } from 'react-router-dom'

class Main extends Component{

    render() {
        return(
            <div>
                Main
                <br/>
                <Link to="/main/test-id">test_id</Link>
                <br/>
                <Link to="/main/456">test_456</Link>
                <hr/>
                {this.props.children}
            </div>    
        )
    }
}

export default Main